.container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  .detail {
    position: relative;
    display: flex;
    min-height: 430px;
    padding: 20px;
    background: #192c53;

    .left {
      position: relative;
      min-width: 500px;
      max-width: 500px;
      height: 410px;
      overflow: hidden;
      border-radius: 8px;

      .img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.4s;
        &:hover {
          transform: scale(1.05);
        }
      }
      .playWrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
      }
      .play {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 71px;
        height: 76px;
        background: url('./images/icon-play-detail.png') no-repeat center / 100%;
        transform: translateX(-50%) translateY(-50%);
        cursor: pointer;
        opacity: 0.7;

        &:hover {
          opacity: 1;
        }
      }
      .tag {
        position: absolute;
        top: 8px;
        right: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 2px 5px;
        color: #fff;
        font-size: 12px;
        background: rgba(232, 58, 204, 1);
        border-radius: 5px;
        &.green {
          background: rgba(16, 176, 123, 1);
        }
      }

      .fq {
        position: absolute;
        top: 8px;
        left: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        color: #fff;
        border-radius: 4px;

        .text {
          padding: 2px 4px 2px 7px;
          padding-right: 7px;
          background: rgba(0, 0, 0, 0.5);
        }

        .qs {
          padding: 2px 7px 2px 4px;
          background-color: #bb9967;
        }
      }

      .ms,
      .ys {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 86px;
        padding: 10px 20px;
        background: url('~@/assets/pc/images/course/ms-bg.png') no-repeat center / 100% 86px;

        .title {
          margin-bottom: 8px;
          color: #fff;
          font-size: 16px;
          line-height: 22px;
        }

        .row {
          display: flex;
          align-items: center;

          .price {
            display: inline-flex;
            align-items: center;
            min-width: 148px;
            height: 38px;
            padding: 0 11px;
            color: #ff0600;
            font-weight: 600;
            line-height: 37px;
            background: #fff;
            border-radius: 10px;

            .text {
              margin-right: 6px;
            }

            .num {
              margin-left: 2px;
              font-size: 30px;
            }
          }
        }
      }

      .ys {
        height: 54px;
        background: url('./images/ysjbg.png') no-repeat center / 100% 54px;

        .row {
          .price {
            color: #1a6b62;
            background: #c9f8f3;
          }
        }
      }
    }

    .right {
      position: relative;
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: space-between;
      min-height: 410px;
      margin-left: 24px;

      .title {
        display: flex;
        align-items: flex-start;
        margin-bottom: 10px;

        h3 {
          flex: 1;
          color: #fff;
          font-weight: 600;
          font-size: 22px;
          font-family: PingFangSC-Regular, PingFang SC;
          line-height: 33px;
          cursor: pointer;
          &:hover {
            color: #4de7ff;
          }
        }
      }

      .nums {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        .fieds {
          display: flex;
          align-items: center;
          padding-right: 15px;
          color: #7688a5;
          .icon {
            margin-right: 6px;
          }
          &.last {
            position: relative;
            margin-right: 15px;
            &::after {
              position: absolute;
              top: 50%;
              right: 0;
              width: 1px;
              height: 10px;
              background-color: #334874;
              transform: translateY(-50%);
              content: ' ';
            }
          }

          .icon {
            width: 15px;
            height: 15px;

            &.x {
              background: url('./images/icon-x.png') no-repeat center / 100% 100%;
            }

            &.y {
              background: url('./images/icon-y.png') no-repeat center / 100% 100%;
            }

            &.z {
              background: url('./images/icon-z.png') no-repeat center / 100% 100%;
            }
          }
        }
        .software {
          display: flex;
          align-items: center;
          color: #7688a5;
          .value {
            color: #fff;
          }
        }
      }
      .infos {
        width: 520px;
        .body {
          background-color: #1b2f5a;
          .row {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            padding: 0 15px 15px 15px;
            color: #7688a5;
            font-size: 14px;
            &:first-child {
              padding-top: 15px;
            }
            &.fw {
              .value {
                color: #fff;
              }
            }
            &.yh {
              .value {
                margin-right: 6px;
                &:last-child {
                  margin-right: 0;
                }
              }
            }

            .line {
              width: 1px;
              height: 10px;
              margin: 5px 20px 0 20px;
              border: 1px solid #505f7d;
            }
          }
        }
      }
      .momeyWrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 15px;

        .down {
          position: absolute;
          top: 50%;
          right: 30px;
          transform: translateY(-50%);
        }
        &.ys {
          .preferentialPrice {
            position: relative;

            color: #000;
            background: url('./images/ysjbg2.png') no-repeat center / 100% 38px;
          }
        }

        &.pt {
          .preferentialPrice {
            padding: 2px 10px;
            color: #fff;
            background: #102249;
            .unit,
            .text {
              color: #ffe400;
            }
          }
        }

        // .originalPrice {
        //   display: flex;
        //   align-items: baseline;
        //   margin-right: 8px;
        //   color: #ffe400;
        //   font-size: 34px;

        //   .unit {
        //     margin-right: 6px;
        //     font-size: 18px;
        //   }
        // }

        .preferentialPrice {
          position: relative;
          display: flex;
          align-items: center;
          width: 100%;
          height: 44px;
          padding: 0 30px 0 15px;
          color: #fff;
          background: url('./images/msjbg2.png') no-repeat center / 100% 100%;

          .unit {
            margin: 0 2px 0 6px;
          }

          .text {
            font-size: 30px;
          }
        }

        .xl {
          margin-left: 22px;
          padding: 4px 9px;
          color: #fff;
          background: rgba(255, 77, 14, 0.5);
          border: 1px solid #ffb40e;
        }
      }

      .yhtag {
        display: flex;
        align-items: center;
        overflow: hidden;
        border: 0.5px solid #ffb90f;
        border-radius: 4px;
        &:last-child {
          margin-right: 0;
        }

        .text {
          padding: 2px 6px;
          color: #ffb90f;
        }

        .action {
          padding: 2px 7px;
          color: #000;
          background-color: #fee500;
          cursor: pointer;
        }
      }

      .zp {
        display: flex;
        align-items: center;

        .text {
          margin-left: 30px;
        }

        .item {
          display: flex;
          align-items: flex-end;
          margin-right: 14px;
          font-size: 12px;

          .img,
          .imgcg {
            width: 26px;
            height: 26px;
            margin-right: 4px;
            object-fit: cover;
            background-color: #fff;
            :global {
              .ant-image-mask {
                display: none;
              }
            }
          }
          .imgcg {
            background-color: transparent;
          }
        }
        .cg {
          display: inline-block;
          margin-right: 6px;
          color: #f6c165;
          font-size: 14px;
        }

        .tips {
          align-self: flex-end;
          margin-left: 5px;
          color: #7688a5;
          font-size: 12px;
        }
      }

      .rj {
        display: flex;
        align-items: center;
        margin-top: 5px;
        color: #fff;

        .item {
          width: 22px;
          height: 22px;
          margin-left: 12px;
        }
      }
      .buttons {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 10px;

        .reward {
          position: absolute;
          top: 0;
          right: -17px;
          margin-top: -66px;
        }
        .line {
          width: 1px;
          height: 20px;
          margin-right: 20px;
          background-color: #55668a;
        }

        .button {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 130px;
          height: 44px;
          margin-top: 5px;
          margin-right: 20px;
          color: #fff;
          font-size: 16px;
          background: #19305e;
          border: 1px solid transparent;
          border-radius: 6px;
          cursor: pointer;
          &.button2 {
            border: 1px solid #233e76;
          }
          &:hover {
            background: #203a6e;
          }
          &.kc {
            border: 1px solid #4d66ff;
          }
          &.small {
            position: relative;
            width: 100px;
            height: 44px;
            background: #2f5083;
            border-radius: 6px;
            &:hover {
              background: #44618f;
            }
            .tips {
              position: absolute;
              top: -17px;
              right: -36px;
              height: 23px;
              padding: 0 6px;
              color: #fff;
              font-size: 12px;
              line-height: 23px;
              background: #ff5967;
              border-radius: 4px;
            }
          }
          &:last-child {
            margin-right: 0;
          }

          &.primary {
            background-color: #254df8;
            &:hover {
              background-color: #3b5ff8;
            }
          }
          &.disabled {
            cursor: not-allowed;
            opacity: 0.7;
            &:hover {
              background-color: #254df8;
            }
          }

          &.ghost {
            background: rgba(37, 77, 248, 0.3);
            border-color: #4d66ff;
            &:hover {
              background: rgba(37, 77, 248, 0.5);
            }
          }

          .icon {
            width: 21px;
            height: 21px;
            margin-right: 10px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: 100% 100%;

            &.like {
              background-image: url('./images/icon-like.png');

              &.actived {
                background-image: url('./images/icon-like-actived.png');
              }
            }

            &.kan {
              background-image: url('./images/icon-yan.png');
            }

            &.mai {
              background-image: url('./images/icon-shu.png');
            }

            &.xue {
              background-image: url('./images/icon-kan.png');
            }

            &.tjks {
              background-image: url('./images/icon-addc.png');
            }

            &.bjks {
              background-image: url('./images/icon-editc.png');
            }
            &.bzzy {
              background-image: url('./images/icon-bzzy.png');
            }
            &.jcgk {
              background-image: url('./images/icon-jcgk.png');
            }
            &.xzsc {
              background-image: url('./images/icon-xzsc.png');
            }
            &.jrjs {
              background-image: url('./images/icon-jrjs.png');
            }
            &.mywork {
              background-image: url('./images/mywork.png');
            }
          }
        }
      }
    }
    .handles {
      position: absolute;
      top: 6px;
      right: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 70px;
      .item {
        width: 27px;
        height: 27px;
        background-repeat: no-repeat;
        background-size: 100%;
        border: 1px solid #2a3d5c;
        border-radius: 8px;
        cursor: pointer;
        &.share {
          background-image: url('./images/icon_share.png');
          &:hover {
            background-color: #2a3d5c;
          }
        }
        &.more {
          background-image: url('./images/icon_more.png');
          &:hover {
            background-color: #2a3d5c;
          }
        }
      }
    }

    .teacher {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;

      .avatar {
        width: 19px;
        height: 19px;
        background-position: center;
        background-size: cover;
        border-radius: 50%;
      }

      .info {
        margin-left: 10px;
        .title {
          margin-bottom: 0;
          color: #fff;
          font-size: 12px;
          letter-spacing: 1px;
          &:hover {
            color: #254df8;
            .iconArrow {
              background: url('./images/arrow-new-2133-hover.png') no-repeat center / 100%;
            }
          }
        }

        .des {
          color: #7688a5;
        }
      }
    }
  }
  // 学习中心
  &.course3 {
    background-color: #fff;
    .detail {
      min-height: auto;
    }
    .left {
      width: 300px;
      min-width: auto;
      height: 246px;
    }
    .infotags {
      display: flex;
      align-items: center;
      margin-top: 20px;
      .item {
        margin-right: 14px;
        padding: 5px 8px;
        color: #7688a5;
        font-size: 12px;
        background: #192c53;
        border-radius: 6px;
      }
    }
    .right {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 246px;
      .title {
        padding-right: 0;
      }
    }
    .teacherWrapper {
      display: flex;
      flex: 1;
      flex-direction: column;
      justify-content: flex-end;
      .iconArrow {
        width: 17px;
        height: 17px;
        background: url('./images/arrow-new-2133.png') no-repeat center / 100%;
      }
    }
    .teacher {
    }
  }
}

.myCountdownValue {
  display: flex;
  align-items: center;
  margin-left: 17px;
  color: #000;
  font-size: 12px;

  span {
    margin: 0 2px;
    padding: 2px;
    color: #fff;
    background: #000;
  }
}

.sharepopover {
  :global {
    .ant-popover-title {
      display: none;
    }

    .ant-popover-inner {
      padding: 16px;
      background: #1c3a6a;
      border: 1px solid #355088;
      border-radius: 8px;
      box-shadow: 0 10px 35px 0 rgba(12, 29, 64, 0.53);
    }

    .ant-popover-inner-content {
      padding: 0;
    }
    .ant-popover-arrow {
      display: none;
    }
    .ant-popover-arrow-content {
      background-color: #657ba9;
    }
  }
}
.wxsharemain {
  .title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    color: #fff;
    img {
      margin-right: 6px;
    }
  }
}

.morepopover {
  :global {
    .ant-popover-title {
      display: none;
    }
    .ant-popover-arrow {
      display: none;
    }
    .ant-popover-inner {
      width: 109px;
      overflow: hidden;
      background: #1c3a6a;
      border: 1px solid #192c53;
      border-radius: 6px;
      box-shadow: 0px 10px 35px 0px rgba(12, 29, 64, 0.53);
    }

    .ant-popover-inner-content {
      padding: 0;
    }

    .ant-popover-arrow-content {
      background-color: #657ba9;
    }
  }
}
.moremain {
  .item {
    display: block;
    height: 40px;
    padding: 4px 8px;
    color: #fff;
    font-size: 12px;
    line-height: 32px;
    background-color: rgb(28, 58, 106);
    cursor: pointer;
    &:hover {
      background-color: #859bbe33;
    }
  }
}
.previewImg {
  cursor: pointer;
  :global {
    .ant-image-preview-img {
      max-width: 70%;
      max-height: 70%;
    }
    .ant-image-mask {
      display: none;
    }
  }
}

.applyStatusWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 10px;
  opacity: 0.9;
  .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 15px;
    background: url('./images/icon-apply-status-ing.png') no-repeat center / 100%;
  }
  .iconfail {
    width: 28px;
    height: 28px;
    margin-bottom: 15px;
    background: url('./images/icon-apply-status-fail.png') no-repeat center / 100%;
  }
  .tips {
    color: #fff;
    font-size: 16px;
    line-height: 25px;
    .fail {
      color: rgba(255, 43, 43, 1);
    }
  }
  .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 44px;
    margin-top: 24px;
    color: #fff;
    font-size: 16px;
    background: rgba(37, 77, 248, 0.3);
    border: 1px solid #4d66ff;
    border-radius: 6px;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }
}
